package ast;


public class MethodDecNode extends Node {
    Node access;
    Node type;
    Node param;
    Node methodBody;
    String id;

    public MethodDecNode (String s, AccessNode access, TypeNode type, List param, MethodBodyNode methodBody) {
        this.access = access;
        this.type = type;
        this.param = param;
        this.methodBody= methodBody;
        this.id = s;
    }

    public Object accept(Visitor v) {
	return v.visit(this);
    }


}
